package com.fanfan.SmartPensionSystembackend.service;

import com.fanfan.SmartPensionSystembackend.entity.DailyDataBaseInfo;
import com.fanfan.SmartPensionSystembackend.entity.DailyDataDailyData;
import com.fanfan.SmartPensionSystembackend.entity.DailyDataTijianData;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description DailyDataService
 * @Author Guangdi Chen
 * @Date 2025-03-19
 */
public interface DailyDataService {
    // 获取所有用户信息
    public List<DailyDataBaseInfo> getAllDailyData();
    // 插入日常数据
    int insertDailyData(DailyDataDailyData dailyData);
    // 插入体检数据
    int insertTijianData(DailyDataTijianData dailyData);
    //根据userId筛选用户信息
    DailyDataBaseInfo screenDailyDataWithId(String userId);
    // 根据住址筛选用户信息
    List<DailyDataBaseInfo> screenDailyDataWithAddress(String buildingNo, String floorNo, String roomNo);
}
